package com.maomao;

import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;

/**
 * @description:
 * @auther: 雪域青竹
 * @version: 1.0
 * @create 2024/4/1 9:38
 */
public class Browser {
    public static void main(String[] args) throws IOException {
        URL url=new URL("http://192.168.217.231:9090");
        URLConnection connection=url.openConnection();
        InputStream in = connection.getInputStream();
        byte[] buf = new byte[1024];
        int len = in.read(buf);
        String text = new String(buf,0,len);
            System.out.println(text);
        }
    }
